
/**
 * @author Mr_老冷 QQ:1920712147
 * @description 判断男女
 */
function getCentenrGender(node) {
    return image.findColorEx("0xFD5572-0x10101", 0.9, node.bounds.left, node.bounds.top, node.bounds.right, node.bounds.bottom, 1, 1);
}

let node = textMatch(".*岁").clz("android.widget.TextView").getOneNodeInfo(0)
if (node) {
    logd("岁");
    if (getCentenrGender(node)) {
        logd("女的")
    } else {
         logd("男的")
    }
}